var a = 1;
var a = '字符串';
let a = 5;
console.log(a);


var a = 1 ;
var a = '字符串';
let a = 5 ;
console.log(a);


function setPrice() {
    var price = 1;
    price++;
}
setPrice();
console.log(price);
    
var price = 1;
function setPrice(){
price++;
}
setPrice();
console.log(price);

var price = 1;
function setPrice(){
console.log(price);
console.log(window.price);
}
setPrice();

const price = 10;
if(price < 59){
const deliveryFee = 5;
price += deliveryFee;
}
console.log(price);
console.log(deliveryFee);

let a = 3;
function b(){
let a = 4;
console.log(a)
}
b()
console.log(a)

let a =3;
function b(){
console.log(a)
}
b()
console.log(a)

let a =3;
function b(){
    a = 4;
    console.log(a)
}
b()
console.log(a)

let a = 3;
function b(){
let c = 4;
}
b()
console.log(c)

